package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Permission;
import cn.wolfcode.crm.page.PageResult;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface IPermissionService {


    PageResult query(QueryObject qo);

    /**
     * 加载权限
     */
    void reload();

    PageResult listAll();

    PageResult queryByRoleId(Long roleId);

    List<String> getPermissonResourceByEmployeeId(Long employeeId);
}
